<%@ taglib prefix="s" uri="http://stripes.sourceforge.net/stripes.tld" %>
<%@ taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles" %>
<s:form beanclass="cz.muni.fi.pa165.ddtroops.web.actionbeans.SkillActionBean">
    <tiles:importAttribute name="hidden" />
    <s:hidden name="${hidden}"/>
    <fieldset><legend><tiles:getAsString name="legend"/></legend>
    <s:errors/>
    <div id="form">
        <div class="row">
            <s:label for="b1" name="skill.name"/>
            <s:text id="b1" name="skill.name"/>
            <div class="accordion">
                <s:label for="requiredValue"/>
            </div>
        </div>
        <div class="row">
            <s:label for="b2" name="skill.description"/>
            <s:text id="b2" name="skill.description"/>
            <div class="accordion">
                <s:label for="requiredValue"/>
            </div>
        </div>
        <div class="row">
            <s:label for="b3" name="skill.profession"/>
            <s:text id="b3" name="skill.profession"/>
            <div class="accordion">
                <s:label for="requiredValue"/>
            </div>
        </div>
        <div class="row">
            <s:label for="b4" name="skill.minXP"/>
            <s:text id="b4" name="skill.minXP"/>
            <div class="accordion">
                <s:label for="requiredValue"/><br/>
                <s:label for="nonnegative"/>
            </div>
        </div>
    </div>
    <tiles:importAttribute name="action" />
    <div class="cent">
    <s:submit name="${action}"><tiles:getAsString name="button"/></s:submit>
    </div>
    </fieldset>
</s:form>